package com.sicau.smarttraceplatform.entity.param.good;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 添加商品入参
 * </p>
 *
 * @author ttxxi
 * @since 2020-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(description = "添加商品入参")
public class GoodAddParam {
    /**
     * 所属平台
     */
    @NotBlank
    @ApiModelProperty("所属平台")
    private String platform;

    /**
     * 商品链接
     */
    @NotBlank
    @ApiModelProperty("商品链接")
    private String link;

    /**
     * 关联溯源编号
     */
    @NotBlank
    @ApiModelProperty("溯源id")
    private String traceId;
}
